package cn.stylefeng.guns.modular.system.model;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 作用于车辆信息传输的javabean
 */
@Data
public class CarDto {

    private Long carId;
    private String carType;
    private String carColor;
    private Double carPrice;
    private Integer carInspection;
    private Long carMileage;
    private Integer rentMoneyOneDay;
    private Long modifyId;
    private Long ticketId;
    private Integer rentTimes;
    private Float carScore;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date returnDate;
    public Date getReturnDate() {
        return returnDate;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getCarColor() {
        return carColor;
    }

    public void setCarColor(String carColor) {
        this.carColor = carColor;
    }

    public Double getCarPrice() {
        return carPrice;
    }

    public void setCarPrice(Double carPrice) {
        this.carPrice = carPrice;
    }

    public Integer getCarInspection() {
        return carInspection;
    }

    public void setCarInspection(Integer carInspection) {
        this.carInspection = carInspection;
    }

    public Long getCarMileage() {
        return carMileage;
    }

    public void setCarMileage(Long carMileage) {
        this.carMileage = carMileage;
    }

    public Integer getRentMoneyOneDay() {
        return rentMoneyOneDay;
    }

    public void setRentMoneyOneDay(Integer rentMoneyOneDay) {
        this.rentMoneyOneDay = rentMoneyOneDay;
    }

    public Long getModifyId() {
        return modifyId;
    }

    public void setModifyId(Long modifyId) {
        this.modifyId = modifyId;
    }

    public Long getTicketId() {
        return ticketId;
    }

    public void setTicketId(Long ticketId) {
        this.ticketId = ticketId;
    }

    public Integer getRentTimes() {
        return rentTimes;
    }

    public void setRentTimes(Integer rentTimes) {
        this.rentTimes = rentTimes;
    }

    public Float getCarScore() {
        return carScore;
    }

    public void setCarScore(Float carScore) {
        this.carScore = carScore;
    }

    public void setReturnDate(Date returnDate) {
        this.returnDate = returnDate;
    }
}
